package com.will.order.service;

import com.will.common.dto.AccountDto;
import com.will.common.response.AjaxResult;
import com.will.order.service.impl.AccountServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "account-service", fallback = AccountServiceImpl.class)
public interface IAccountService {

    @PutMapping("/account/decreaseAccount")
    AjaxResult decreaseAccount(AccountDto accountDto);
}
